package com.tanchengjin.admin.modules.cms.mapper;

import com.tanchengjin.admin.modules.cms.pojo.ArticleComment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * article_commentMapper
 *
 * @author  TanChengjin
 * @since   v1.0.0
 * @version v1.0.0
 */
@Mapper
public interface ArticleCommentMapper {

    int deleteByPrimaryKey(int id);

    int insert(ArticleComment record);

    int insertSelective(ArticleComment record);

    ArticleComment selectByPrimaryKey(int id);

    int updateByPrimaryKeySelective(ArticleComment record);

    int updateByPrimaryKey(ArticleComment record);

    List<ArticleComment> getAll();

    List<ArticleComment> getAllByCondition(ArticleComment condition);

    int count();

    int batchDeleteByPrimaryKey(int[] ids);
    //逻辑删除
    int logicalBatchDeleteByPrimaryKey(int[] ids);

}
